
import org.hibernate.cfg.AnnotationConfiguration;
import org.hibernate.cfg.Configuration;
import org.hibernate.tool.hbm2ddl.SchemaExport;


/**
 *
 * @author Pc
 */
public class Main {

    public static void main(String[] args) {
        Configuration cfg = new AnnotationConfiguration().configure();
        
        SchemaExport se = new SchemaExport(cfg);
        se.create(true, true);
    
    }
}
